package com.mohan.util;

import java.util.List;

import com.mohan.pojo.Reply;

public class CommentRep {
	/**
	 * commentid:评论的id
	 * articleid:所评论文章的id
	 * userid:上传评论的用户id
	 * name:评论者的用户名
	 * date:发布评论时间
	 * loves:评论获赞次数
	 * content:评论的内容
	 * serialnum:评论在该文章所有评论的序号
	 * replys:回复该评论的所有回复的列表
	 */
	private int commentId;
	private int articleId;
	private String userid;
	private String name;
	private String date;
	private int loves;
	private String content;
	private int serialNum;
	private List<Reply> replys;
	public int getCommentId() {
		return commentId;
	}
	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}
	public int getArticleId() {
		return articleId;
	}
	public void setArticleId(int articleId) {
		this.articleId = articleId;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public int getLoves() {
		return loves;
	}
	public void setLoves(int loves) {
		this.loves = loves;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getSerialNum() {
		return serialNum;
	}
	public void setSerialNum(int serialNum) {
		this.serialNum = serialNum;
	}
	public List<Reply> getReplys() {
		return replys;
	}
	public void setReplys(List<Reply> replys) {
		this.replys = replys;
	}	
}
